package com.tt.dp.strategy;

import com.tt.dp.strategy.behavior.impl.NormalFly;
import com.tt.dp.strategy.behavior.impl.NormalQuack;

public class MallardDuck extends Duck {

    public MallardDuck(){
        this.flyBehavior = new NormalFly();
        this.quackBehavior = new NormalQuack();
    }

    @Override
    public void display() {
        System.out.println("i'm a mallard duck");
    }


}
